package com.pauldada.sakurabbs.dao;

import com.pauldada.sakurabbs.entities.UserAccount;
import org.springframework.data.repository.CrudRepository;

import java.util.List;

public interface UserAccountRepository extends CrudRepository<UserAccount,Long> {

    @Override
    List<UserAccount> findAll();

    UserAccount findByUsername(String username);

    UserAccount findByUserId(long id);

}
